<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>v-text</title>
</head>
<body>
    <div id="app">
        <h2 v-text="message"></h2>
        <h2 v-text="info"></h2>
        <h2>{{message}}深圳校区</h2>
        <h2>我的学校：{{school.name}}</h2>
        <h2 v-text="'学校地址:'+school.address"></h2>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <script>
        var app=new Vue({
            el:"#app",
            data:{
                message:"黑马程序员",
                info:"我已经不是当年那个我了",
                school:{
                    name:"西安远东一小",
                    address:"土门高新路"
                }
            }
        })
    </script>
</body>
</html>